<?php


namespace wechat\lib\core;


/**
 * Interface IAuth
 * @package wechat\lib\core
 * @auth: Taurus12C
 * @email: 1402410174@qq.com
 * @date: Time: 2019-12-04 10:29:53
 */
interface IAuth
{
    public function webAuth(string $redirect_uri, string $scope, string $state='state'):void;

    public function getOpenId(string $redirect_uri='');

    public function getUserInfo(string $redirect_uri='');
}